package com.cqjtu.platform.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author pengyangyan
 */
@Data
@Entity
@Table(name = "upload_file")
public class UploadFile {

    /**
     *  文件id
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    @Column(name = "file_id")
    private String fileId;

    /**
     * 文件地址
     */
    @Column(name = "file_path")
    private String filePath;

    /**
     * 文件原始名称
     */
    @Column(name = "original_file_name")
    private String originalFileName;
}
